package Slectclass2;

public class Person {   //定义父类
    protected int number;   //编号
    protected String name;  //姓名
    protected String sex;   //性别

    protected Person(int number, String name, String sex) {
        this.number = number;
        this.name = name;
        this.sex = sex;

    }
}
